home *** CD-ROM | disk | FTP | other *** search
/ Interplay's Learn to Program Basic (Review Copy) / Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO / pc / ltpbasic / refxmpl / else.bas < prev    next >
BASIC Source File  |  1998-03-09  |  189b  |  16 lines

  1. CLS
  2. While True
  3. Print "Type in a number."
  4. Input number
  5.  
  6. If number > 5 Then
  7. Print "Your number is greater than five!"
  8. Else Print "Your number is less than or equal to 5!"
  9. EndIf
  10.  
  11. Wend
  12. End
  13.  
  14.  
  15.